#ifndef THREAD_H_INCLUDED
#define THREAD_H_INCLUDED

#include "chipFrame.h"
#include "wx/thread.h"

class MyWorkerThread : public wxThread
{
public:
    MyWorkerThread(chipFrame *frame);

    // thread execution starts here
    virtual void *Entry();

    // called when the thread exits - whether it terminates normally or is
    // stopped with Delete() (but not when it is Kill()ed!)
    virtual void OnExit();

public:
    chipFrame *m_frame;
    unsigned m_count;
};



#endif // THREAD_H_INCLUDED
